package com.rico.deploy.service;

import com.rico.deploy.entity.Course;
import com.rico.deploy.entity.Major;

import java.util.List;

/**
 * @author 夏智力
 * @FileName MajorService
 * @date 2021/5/2 17:31
 * @Software: IntelliJ IDEA
 */
public interface MajorService {

    List<Major> selectMajorByCollegeName(String collegeName);

    List<Major> selectAll(Integer page, Integer limit);

    Major selectById(Integer id);

    int insertMajor(Major major);

    int deleteMajorById(Integer id);

    int updateMajor(Major major);
}
